#!/usr/bin/python

class WykopRespDig:
    
    def _setData(self, Data):
        
        self.author             = Data['author']
        self.author_avatar      = Data['author_avatar']
        self.author_avatar_med  = Data['author_avatar_med']
        self.author_avatar_lo   = Data['author_avatar_lo']
        self.author_group       = Data['author_group']
        
    def _normalizeData(self, Data):

        Obj = WykopRespDig()
        Obj._setData(Data)
        return Obj
    
    def _normalizeDatatoList(self,Data):
        List = []
        for El in Data:
            Obj = WykopRespDig()
            Obj._setData(El)
            List.append(Obj)
        return List